package Dame;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class test1 {
    public static void main(String[] args) {
        method1();
        method2();
        method3();
        method4();
    }

    private static void method4() {

    }

    private static void method3() {
        Map<String,String> map = Map.of("张三","湖南","张四","长沙");
        System.out.println(map.getClass());
    }

    private static void method2() {
        Set<String> set = Set.of("a","b","c","d");
        System.out.println(set.getClass());
    }

    private static void method1() {
        List<String> list = List.of("a","b","c","d");
        System.out.println(list.getClass());
    }
}
